Sub-PR of 846: Modification of Updater and tests as part of #660 #868
Sub-PR of 846: Modification of Updater and tests as part of #660 #868adityasaky wants to merge 16 commits intotheupdateframework:660_respect_delegation_graphfrom
Conversation
A test in test_updater modifies tuf.SPECIFICATION_VERSION temporarily. If it fails, it doesn't get to reset the value. This commit ensures that tuf.SPECIFICATION_VERSION is an expected value at the start of each test -- specifically, the value it had when this test module was first imported. I thought about using a try/except/else structure, but the span of the test was too long and I didn't want to nest try/except. Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
|
@adityasaky
|
|
Now that It also looks like class |
|
Due to imminent refactor efforts this code is unlikely to merge. Thanks for your efforts in the PR! |
Part of the #660 effort, a sub-PR of #846. This is part of step 3 of the plan outlined here: #846 (comment)